package com.huxiu.net.model;


/**
 * Created by ytian on 15/6/22.
 */
public class BasicItem {
    public int user_type;

    public int color_type;

    public String color;

    public int getUserDrawable() {
        switch (user_type) {
            case 0:
                return 0;
        }
        return 0;
    }

    public int getDividerColor() {
        try {
            return 0xff000000 + Integer.parseInt(color, 16);
        } catch (Exception e) {
            return 0xffcccccc;
        }
    }

}
